<!--
 * @Descripttion: 
 * @Author: givon.chen
 * @Date: 2020-05-15 12:48:29
 * @LastEditTime: 2020-06-30 15:43:16
--> 
<template>
  <div class="zp-page-container">
    <el-card class="zp-page-el-card" shadow="never">
      <template v-slot:header class="clearfix" v-if="this.$slots.header">
        <slot name="header"></slot>
      </template>

      <div class="zp-page-body">
        <slot></slot>
      </div>
    </el-card>
  </div>
</template>
<script>
export default {
  name: "zpPage",
  created() {},
  methods: {},
};
</script>
<style lang="less" scope>
.zp-page-container {
  background-color: #fff;
  .zp-page-el-card {
    border-radius: 0;
    border: 0 none;

    .el-card__header {
      font-size: 16px;
      font-weight: bold;
      color: $strongFontColor;
      background: #ffffff;
      padding: 0px 20px !important;
      line-height: 28px;
    }
  }
  .el-icon-edit {
    position: relative;
    width: 16px;
    height: 16px;
    display: inline-block !important;
    vertical-align: middle !important;
    padding: 10px;
    cursor: pointer;
    &:before {
      position: absolute;
      left: 10px;
      top: 10px;
      content: "" !important;
      width: 16px;
      height: 16px;
      background: url("")
        no-repeat;
      background-size: 16px;
    }
  }
}
</style>
